package com.xsimas.xyybackend.config;


import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import java.util.Arrays;
import java.util.List;

/**
 * @author RAY_HUI
 * @date 2025-07-09
 * @time 19:10
 */
@Configuration
public class WebConfig implements WebMvcConfigurer {


    // 放行的路径列表
    private static final List<String> EXCLUDE_PATHS = Arrays.asList(
            "/doc.html",
            "/swagger-ui/**",
            "/v3/api-docs/**",
            "/login",
            "/register",
            "/api/auth/**",
            "/favicon.ico"
    );

}